package com.hlxl.viewpointrest.dto;

/**
 * Created by wyy on 18-5-8
 */
public class ErrorMsgDTO {
    String code;
    String message;
    String reason;
    String path;

    public ErrorMsgDTO(String code, String message, String reason, String path) {
        this.code = code;
        this.message = message;
        this.reason = reason;
        this.path = path;
    }

    public String getCode() {
        return code;
    }

    public ErrorMsgDTO setCode(String code) {
        this.code = code;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public ErrorMsgDTO setMessage(String message) {
        this.message = message;
        return this;
    }

    public String getReason() {
        return reason;
    }

    public ErrorMsgDTO setReason(String reason) {
        this.reason = reason;
        return this;
    }

    public String getPath() {
        return path;
    }

    public ErrorMsgDTO setPath(String path) {
        this.path = path;
        return this;
    }
}
